package com.devunion.salon.core.model;

import javax.persistence.Entity;

/**
 * @author spetrakovsky  23.02.2009
 */
@Entity
public class Person extends BaseSalonEntity {

    private String code;

    private String lastName;

    private String firstName;

    private String nick;

    private boolean male;

    // TODO: path or reference to image

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public boolean isMale() {
        return male;
    }

    public void setMale(boolean male) {
        this.male = male;
    }
}
